import 'package:flutter/material.dart';
import 'dart:ui';

class SearchPanel extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return _SearchPanel();
  }
}

class _SearchPanel extends State<StatefulWidget> {
  @override
  Widget build(BuildContext context) {
    final topBarHeight = MediaQueryData.fromWindow(window).padding.top;
    return Container(
        decoration: BoxDecoration(
            color: const Color(0xFFe2e2e2),
            borderRadius: BorderRadius.all(Radius.circular(5.0))),
        height: 50.0,
        margin: EdgeInsets.fromLTRB(10.0, topBarHeight + 10, 10.0, 10.0));
  }
}
